#ifndef INCLUDE_SRKRT_METHOD
#define INCLUDE_SRKRT_METHOD

#include "srkrt_struct.h"

/* define utile au changement de direction lors de la place de boucles */
#define UP      0
#define DOWN    1
#define LEFT    2
#define RIGHT   3

/* Constructeurs */

Surakarta srkrt_create() ;

void srkrt_play(Surakarta game, Move action) ;

/* Projecteurs */

void srkrt_allowed_moves(Surakarta game, List *list) ;

void one_square_move(Surakarta game, int* sens, Move *move, int *loopNumber) ;
void srkrt_loop_arrived(Surakarta game, Move *move, int* sens) ;
void srkrt_go_loop(Surakarta game, Move* move, int *sens, bool *captureIsPossible) ;

bool srkrt_is_allowed(Surakarta game, Move action, List* l) ;

void srkrt_take_back(Surakarta game) ;



#endif

